<?php
	$arr_localhost = array('localhost', '127.0.0.1');
	if (!in_array($_SERVER['HTTP_HOST'],$arr_localhost)) $host = "http://www.clasesonline.com.ar/sai/";
	else $host = "http://localhost/cov/sai/";

	$arr_var = explode(',', $_POST['variables']);
	$id = $arr_var[0];
	$nombre = $arr_var[1];
	$apellido = $arr_var[2];
?>
<strong><?php echo $nombre . " " . $apellido ?></strong>
<a class="button" href="<?php echo $host .'students/delete/'. $id; ?>">Dar de baja</a>
<a class="button" href="<?php echo $host .'messages/send/student/'. $id; ?>">Enviar mensaje</a>
<a class="button" href="<?php echo $host .'workshop/read/student/'. $id; ?>">Ver tareas</a>
<a class="button" href="<?php echo $host .'accountancy/read/'. $id; ?>">Ver registros de pagos</a>